#define _CRT_SECURE_NO_WARNINGS 1
#include"game.h"
void menu()
{
	printf("****  1.play  ****\n");
	printf("****  0.exit  ****\n");
}

void chushihuaqipan(char arr[ROWS][COLS], int rows, int cols, char set)
{
	int i = 0,j=0;
	for (i = 0; i < rows; i++)
	{
		for (j = 0; j < cols; j++)
		{
			arr[i][j] = set;
		}
	}
}

void dayinqipan(char show[ROWS][COLS], int row, int col)
{
	int i = 0, j = 0;
	for (i = 0; i <= col; i++)
	{
		printf("%-2d", i);
	}
	printf("\n");
	for (i = 1; i <= row; i++)
	{
		printf("%-2d", i); 
		for (j = 1; j <= col; j++)
		{
			printf("%-2c", show[i][j]);
		}
		printf("\n");
	}
}

